@import './mixins/var.scss';
@import './element-ui.scss';

/* Global scss */
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, SimSun, sans-serif;
  font-size: 0.14rem;
}

html {
  height: 100%;
  width: 100%;
}

#app {
  height: 100%;
  width: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

a,
a:focus,
a:hover {
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.mgT10 {
  margin-top: 10px;
}

.mgT15 {
  margin-top: 15px;
}

.mgT20 {
  margin-top: 20px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(78, 132, 254, 0.1);
}

::-webkit-scrollbar-thumb,
:hover::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 1px 1px 0 rgba(78, 132, 254, 0.1);
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 4px;
  box-shadow: inset 0 0 6px rgba(78, 132, 254, 0.1);
}

.leo-collapse-level-two {
  height: 60px;
  color: $color-text-gray-four;
  display: flex;
  align-items: center;
  font-size: 15px;
  user-select: none;

  .leo-collapse-label {
    width: 4px;
    height: 60px;
    background: #4e84fe;
    display: inline-block;
    text-align: center;
    margin-right: 5px;
    vertical-align: middle;
  }

  span {
    margin-left: 20px;
  }
}

.leo-collapse-is-select {
  background: $color-select !important;
  color: $color-primary !important;
}

.leo-collapse-level-two:hover {
  background: $color-hover;
}

.leo-top-bar-right-lang {
  display: flex;
  flex-direction: column;

  .leo-top-bar-right-lang-item {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: $color-text-black-two;
  }

  .leo-top-bar-right-lang-item:hover {
    color: $color-primary;
  }
}

.common-section {
  box-sizing: border-box;
  height: -webkit-calc(100% - 55px);
  height: calc(100% - 55px);
  margin-top: 5px;
  padding: 20px;
  background: #fff;
  overflow: auto;

  .common-section-row {
    margin-bottom: 20px;
    display: flex;

    .common-form-item {
      width: 30%;
      display: flex;
      position: relative;

      .common-form-item-label {
        color: #262626;
        min-width: 90px;
        width: 90px;
        font-size: 14px;
        line-height: 40px;
        margin-left: 25px;
      }

      .common-form-item-label:first-child {
        margin-left: 0;
      }

      .common-form-item-input {
        min-width: 180px;
        width: calc(100% - 90px);
        font-size: 14px;
      }

      .common-form-item-select {
        min-width: 180px;
        width: calc(100% - 90px);
        font-size: 14px;
        position: unset;
      }
    }

    .common-form-right-btn {
      position: absolute;
      right: 0;
      top: 0;
    }
  }

  .common-table {
    padding-top: 10px;
    text-align: right;
    padding-bottom: 70px;
  }

  .mg_r {
    margin-right: 2%;
  }
}

.common-row {
  width: 100%;
}

.leo-top-bar-right-langse {
  margin-right: 15px;

  span {
    font-size: 18px;
    color: #ffffff;
    margin-right: 10px;
  }

  i {
    font-size: 15px;
    color: #ffffff;
  }
}

.act-cm-more {
  margin-left: 14px;
  span {
    font-size: 14x;
    color: #606266;
    margin-right: 10px;
  }

  i {
    font-size: 15px;
    color: #606266;
  }
}

.cm-flex {
  display: flex;
  justify-content: center;
}